using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public class objNTV_doi_tuong_chinh_sach
{
    Common comm = new Common();
    DataRow row;

    private  string _ma_chinh_sach;
    private string _ten_chinh_sach = "";
    private string _mo_ta;

    public objNTV_doi_tuong_chinh_sach() { }

    public string ma_chinh_sach
    {
        get
        {
            return _ma_chinh_sach;
        }
        set
        {
            this._ma_chinh_sach = value;

        }
    }
    public string mo_ta
    {
        get
        {
            return _mo_ta;
        }
        set
        {
            this._mo_ta = value;

        }
    }
    public string ten_chinh_sach
    {
        get
        {
            return _ten_chinh_sach;
        }
    }
    
    public void getName()
    {
        if (!string.IsNullOrEmpty(_ma_chinh_sach))
            _ten_chinh_sach = comm.getDataTable("select ten_chinh_sach from DanhMuc_chinh_sach where ma_chinh_sach='" + _ma_chinh_sach + "'").Rows[0][0].ToString();
    }
}
